package com.cat.state.before;

/**
 * @author cat
 * @version 2025/5/27 14:35
 * @description
 * @since JDK17
 */

public class Client {
    public static void main(String[] args) {
        // 创建电梯对象
        Lift lift = new Lift();

        // 设置状态
        lift.setState(ILift.OPENING_STATE);

        lift.open();
        lift.close();
        lift.run();
        lift.stop();
    }
}
